Serge van den Oever's weblog

Sitecore Demo Portal - cm and the web.config

Sun Feb 25 2024 • ☕️ 1 min read • you like my writing? Buy me a coffee

With the Sitecore Demo Portal it is possible to make modifications to your Sitecore XM Content Management environment by connecting your environment to a GitHub repository containing a folder named cm. All files in the cm folder of your repository are synced to the folder c:\inetpub\wwwroot of your CM environment. This makes it possible to add additional files or to make modifications to for example the web.config using patch files. This sync process is described here: Demo Portal - Deploying files to CM instance. The way to create patch file is described here: Use a patch file to customize the Sitecore configuration | Sitecore Documentation

To see if your web.config changes were applied correctly you can see the resulting web.config by accessing the URL:

https://yoursite-cm.sitecoredemo.com/sitecore/admin/showConfig.aspx

It is also good to check if files are synced correctly. This can be done using the Sitecore File Explorer https://yousite-cm.sitecoredemo.com/sitecore/shell/default.aspx?xmlcontrol=FileExplorer.

Discuss on TwitterEdit on GitHub

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. You are free to share and adapt this work for non-commercial purposes, provided you give appropriate credit, provide a link to the license, and indicate if changes were made. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.

Serge van den Oever's weblog

Serge van den Oever

Personal blog by Serge van den Oever - als je maar lol hebt...
X: @svdoever
LinkedIn: Serge van den Oever - articles on LinkedIn
GitHub: svdoever

Technology Consultant @ Macaw
2021-2024 Sitecore Technology MVP